package com.snake.springboot.custom.api.request.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 类 {@code pageModel}  <br> .
 * <p>分页实体模型
 * <p>创建时间：2024/11/28
 *
 * @author Huang.yj
 */
@ApiModel(description = "分页实体模型")
public class PageModel {

    @ApiModelProperty(value="当前页码", name="pageNum")
    private int pageNum;

    @ApiModelProperty(value="每页记录数", name="pageSize")
    private int pageSize;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "PageModel [ pageNum=" + pageNum + ", pageSize=" + pageSize + "]";
    }

}
